﻿@{
    var confirmationToken = Request.QueryString["confirmationCode"];
    if (WebSecurity.ConfirmAccount(confirmationToken)) {
        WebSecurity.Logout();
        Response.Redirect("~/Shared/Success/ConfirmSuccess");
    } else {
        Response.Redirect("~/Shared/Errors/Error");
    }
}